﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="right.aspx.cs" Inherits="PropertyManagement.login.right" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <style type="text/css">
        body{
            width:546px;
            height:326px;
            margin:0 auto;
        }
        #div1{
            width:546px;
            height:326px;
            background-color:#e1eff7;
        }
        #div11{
            width:546px;
            height:30px;
            background-image:url("../picture/xw.gif");
        }
        table{
            width:546px;
            margin-top:10px;
        }
        .tr1{
            margin-top:20px;
            text-align:center;
            background-color:#4ba9f0;
            color:#fff;
            height:30px;
            line-height:30px;
        }
        .tr2{
            background-color:#ceebfb;
            height:30px;
            line-height:30px;
            text-align:center;
        }
        table tr td{
            margin:0;
            padding:0;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
            <div id="div1">
                <div id="div11"></div>
                <asp:DataList ID="DataList1" runat="server" RepeatColumns="1" Height="16px" Width="533px">
                     <HeaderTemplate>
                         <table>
                    <tr class="tr1">
                        <td>新闻标题</td>
                        <td>发布时间</td>
                        <td>状态</td>
                        <td>详细信息</td>
                    </tr>
                     </HeaderTemplate>
                     <ItemTemplate>
                         <tr class="tr2">
                        <td><asp:Label ID="Label5" runat="server" Text='<%# Eval("stitle") %>'></asp:Label></td>
                        <td><asp:Label ID="Label3" runat="server" Text='<%# Eval("stime") %>'></asp:Label></td>
                        <td><asp:Label ID="Label4" runat="server" Text='<%# Eval("sstatus") %>' ></asp:Label></td>
                        <td>
                            <a target="_blank" href="../xinwen/browerOne.aspx?pid=<%# Eval("id") %> ">
                                <asp:Label ID="Label1" runat="server" Text="详细信息"></asp:Label>
                            </a>
                        </td>
                    </tr>
                     </ItemTemplate>
                    <FooterTemplate>
                        </table>
                    </FooterTemplate>
                 </asp:DataList>
            </div>
    </form>
</body>
</html>
